const { generateService } = require("@umijs/openapi");

generateService({
  requestLibPath: "import request from '@/request'",
  schemaPath: "http://localhost:8101/api/v2/api-docs", // 根据哪个地址的接口文档生成
  serversPath: "./src", // 在哪个页面下生成
});
